package org.csu.mypetstore.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("orderstatus")
public class OrderStatus {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String userid;
    private String orderid;
    private String alipayno;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date createtime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date paytime;
    private String state;
    private BigDecimal total;
    private String addr1;
    private String addr2;
    private String phone;

}
